import { get, post, del } from './request'
export function getSongList(params) {
  return get('/song/page',params)
}

export function getSongDetail(id) {
  return get('/song/detail',{id})
}

export function addSong(data) {
  return post('/song/add',data)
}

export function updateSong(data) {
  return post('/song/update',data)
}

export function deleteSong(id) {
  return del('/song/del',{id})
}